<template>
    <div class="not-found">
        <h1>404</h1>
        <p>页面未找到</p>
        <router-link to="/login">返回登录页</router-link>
    </div>
</template>

<script>
export default {
    name: 'NotFound'
}
</script>

<style>
.not-found {
    text-align: center;
    padding: 2rem;
    min-height: 100vh;
    background: #f5f7fa;
}

.not-found h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.not-found p {
    color: #666;
    margin-bottom: 2rem;
}

.not-found a {
    color: #3498db;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.not-found a:hover {
    background: #3498db;
    color: white;
}
</style>